﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="updatepassword.aspx.cs" Inherits="OnlineTestUI.updatepassword" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <f:PageManager ID="PageManager1" AutoSizePanelID="Form2" runat="server" />    
         <f:Form Width="600px" BodyPadding="5px" ID="Form2" LabelWidth="100px" EnableFrame="true" 
            runat="server" Title="修改密码">
            <Rows>
                <f:FormRow ColumnWidths="50% 50%">
                    <Items>
                        <f:TextBox ID="tbOldPassword" runat="server" TextMode="Password"  Required="true" Label="旧密码"></f:TextBox>
                    </Items>
                </f:FormRow>
                <f:FormRow ColumnWidths="50% 50%">
                    <Items>
                        
        <f:TextBox ID="tbNewPassword" runat="server" TextMode="Password"  Required="true" Label="新密码"></f:TextBox>
                    </Items>
                </f:FormRow>
                <f:FormRow ColumnWidths="50% 50%">
                    <Items>
                        
                        <f:TextBox ID="tbCheckPassword" runat="server" TextMode="Password" CompareControl="tbNewPassword"
                CompareOperator="Equal"  Required="true" Label="确认密码" CompareMessage="两次输入的密码不相同"></f:TextBox>
        
                    </Items>
                </f:FormRow>
                <f:FormRow>
                    <Items>
                        <f:Panel ID="Panel1" runat="server" ShowBorder="false"
                            ShowHeader="false">
                            <Items>
                                <f:Button runat="server" Text="修改密码" CssClass="inline" ValidateForms="Form2"
                                    ID="btnSubmitForm1" OnClick="BtAdd_Click" >
                                </f:Button>
                            </Items>
                        </f:Panel>
                    </Items>
                </f:FormRow>
            </Rows>
        </f:Form>
         
        
        
    </div>
    </form>
</body>
</html>
